package com.puboot.module.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.puboot.common.util.Pagination;
import com.puboot.module.admin.model.BizBanner;
import java.util.List;

/**
 * @Description
 * @Author 申紫微
 * @Data 2020-03-14 11:20:11
 * @Version 1.0
 */
public interface BizBannerService extends IService<BizBanner> {

    boolean save(BizBanner banner);

    BizBanner selectById(Integer id);

    List<BizBanner> selectAllBanner();

    boolean deleteBanner(Integer id);

    boolean batchDelete(Integer[] ids);

    List<BizBanner> pageBanner(IPage<BizBanner> page, BizBanner banner);
}
